/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package muhnes.sizoo.dal;

/**
 *
 * @author CALDERON
 */
import java.util.List;
import muhnes.sizoo.modelo.Animal;

public interface AnimalDao {
     
    public void guardar ( Animal animal );
    public void guardarColeccion ( List<Animal> animals );
    public void actualizar ( Animal animal );
    public void actualizarColeccion ( List<Animal> animals );
    public void eliminar ( Animal animal );
    public void eliminarColeccion ( List<Animal> animals );
    public void eliminarPorId ( int id );
    public Animal buscarPorId ( int id );
    public List< Animal > buscarTodos ();
   
}
